package com.bdth.controller;

import com.bdth.model.Device;
import com.bdth.model.TerminalCommand;
import com.bdth.model.User;
import com.bdth.service.IDeviceService;
import com.bdth.service.ITerminalCommandService;
import com.bdth.utils.HtmlUtil;
import com.bdth.utils.SessionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @author: 徐斌
 * @Date: 2018-04-13 14:26
 */
@Controller
@RequestMapping("/report")
public class ReportController extends BaseController {

	@RequestMapping("/selectPage")
	public ModelAndView selectPage(String page, HttpServletRequest request, HttpServletResponse response) {
		Map<String, Object> context = getRootMap();
		return forword("/report/" + page, context);
	}


}
